<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <!-- 引入Vue.js、Element Plus、Axios、Mock.js、api.js、app.js、style.css -->
    <script src="https://unpkg.com/vue"></script>
    <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css">
    <script src="https://unpkg.com/element-plus"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="http://mockjs.com/dist/mock.js"></script>
    <script type="module" src="./js/api.js"></script>
    <script type="module" src="./js/app.js"></script>
    <link rel="stylesheet" href="css/style.css">
    <title>东软饭店</title>
  </head>
  <body>
    <div id="app">
      <Myapp />
    </div>
  </body>
  <script type="module">
    import Myapp from './js/app.js';
    import api from './js/api.js';
    import './js/myMock.js';
    const App = {
      data() {
        return {
          message: "Hello！欢迎来到东软饭店！",
        }
      },
      components: {
        Myapp
      }
    };
    const app = Vue.createApp(App);
    app.use(ElementPlus);
    app.mount("#app");
  </script>
</html>
